package com.letoken.platform.repo.mall.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel(value = "提币", description = "提币")
public class WithdrawalRes {
    @ApiModelProperty(name = "amount", value = "提醒金额", required = true)
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;

    @ApiModelProperty(name = "type", value = "提现类型", required = true)
    @NotNull(message = "类型 1.usdt  2.cap")
    private Integer type;
   /* @ApiModelProperty(name = "desk", value = "备注", required = false)
    private String desk;*/
}
